﻿using System;
using System.Collections.Generic;

#nullable disable

namespace News.Models.Database
{
    public partial class NewsPost
    {
        public int NewsPId { get; set; }
        public int CateId { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
        public string Photo { get; set; }
        public DateTime NewsTime { get; set; }
        public string NewsAdd { get; set; }

        public virtual Category Cate { get; set; }
    }
}
